<?php
namespace App\Http\Controllers;

use App\Handler\InfoHandler;
use App\Http\C5\C5ResponseFactory;

class WxInfoController extends BaseController
{


    public function detail()
    {
        $organizationId = $this->currentOrganizationId();
        $typeId = $this->get("type_id");
        $content = InfoHandler::getContent($organizationId, $typeId);
        $result = ["content" => $content];
        return C5ResponseFactory::newSuccessInstance($result);
    }


}

